<?php
/**
 * Created by PhpStorm.
 * User: nmw
 * Date: 17-10-18
 * Time: 下午2:44
 */

namespace SDK\Ali;

use OSS\OssClient;

class AliyunOss
{
    /**
     * @var string
     */
    protected $accessKeyId = "LTAIubsbHSREtSht";

    /**
     * @var string
     */
    protected $secret = "JH3TTP26iz68Bi8n6bkiSaskxktQNJ";

    /**
     * @var string
     */
    protected $endPoint = "oss-cn-hangzhou.aliyuncs.com";

    /**
     * @var string
     */
    protected $bucket = 'honglabacom';

    /**
     * @var string
     */
    protected $baseUrl = 'https://img.honglaba.com';

    /**
     * @var
     */
    protected $ossClient;

    public function __construct()
    {
        $this->ossClient = new OssClient($this->accessKeyId, $this->secret, $this->endPoint);
    }
}